package com.yan.service;

import com.yan.mapper.UserMapper;
import com.yan.po.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


public interface UserService {

    public Integer addUser(User user)throws Exception;
    public User getUserById(Integer id) throws Exception;
    public Integer updateUser(User user)throws Exception;
    public Integer deleteUser(Integer id)throws Exception;
}
